// var itany = "网博"
// console.log(itany);

import "@/assets/css/base.css"
// import "@/assets/scss/var.scss"
import "@/assets/js/test.js"
import 'element-plus/dist/index.css'
import 'nprogress/nprogress.css'

// 以三方模块的方式加载的vue核心库
import { createApp } from 'vue'
// import { createApp, h } from 'vue'
import router from "@/router";
console.log(router);
import ElementPlus from 'element-plus'
import icons from "@/icons";

// createApp({
//     // template:`<p>msg:{{ msg }}</p>`,
//     render(){
//         return h("p",this.msg)
//     },
//     data() {
//         return {
//             msg:"msg"
//         }
//     },
// }).mount('#app')

// 加载了一个组件配置文件【组件的完整配置】
import App from './App.vue'
// const App = require("./App.vue").default;
// console.log(App)


import directives from "@/directive/index.js";
import proejctError from "@/util/proejctError.js";

createApp(App)
    .use(proejctError)
    .use(router)
    .use(directives)
    .use(ElementPlus)
    .use(icons)
    .mount('#app')
